#!/bin/bash
#TestInitialElection2A
#TestReElection2A
#TestManyElections2A
#TestFailAgree2B
#TestFigure8Unreliable2C
mkdir ./batchlogs

for i in {0..100};
do

(VERBOSE=1 /usr/local/go/bin/go test -run TestFigure8Unreliable2C -race > "./batchlogs/log_$i")
echo "finish task $i"
tail -n 1 ./batchlogs/log_$i
done
